Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Include your customized HAL commands here
- # The commands in this file are run after the AXIS GUI (including PyVCP panel) starts
- # **** Setup of spindle speed display using pyvcp -START ****
- # **** Use COMMANDED spindle velocity from LinuxCNC because no spindle encoder was specified
- net spindle-cmd-rpm-abs => pyvcp.spindle-speed
- # **** force spindle at speed indicator true because we have no feedback ****
- net spindle-at-speed => pyvcp.spindle-at-speed-led
- sets spindle-at-speed true
- # connect the X PyVCP buttons
- net my-jogxminus halui.jog.0.minus <= pyvcp.x-minus
- net my-jogxplus halui.jog.0.plus <= pyvcp.x-plus
- # connect the Y PyVCP buttons
- net my-jogyminus halui.jog.1.minus <= pyvcp.y-minus
- net my-jogyplus halui.jog.1.plus <= pyvcp.y-plus
- # connect the Z PyVCP buttons
- net my-jogzminus halui.jog.2.minus <= pyvcp.z-minus
- net my-jogzplus halui.jog.2.plus <= pyvcp.z-plus
- # connect the PyVCP jog speed slider
- net my-jogspeed halui.jog-speed <= pyvcp.jog-speed-f
- # return to home safely
- net panel-safe-go-home <= halui.mdi-command-00 <= pyvcp.safe-go-home
- # connect the probe to the script
- net panel-z-probe <= halui.mdi-command-01 <= pyvcp.z-probe
- # connect the probe to the script
- net panel-p-hole <= halui.mdi-command-03 <= pyvcp.p-hole
- # net remote-o100 halui.mdi-command-02 <= pyvcp.o100
- net deb-probe-in => pyvcp.deb-probe-in
- net deb-xprox-in => pyvcp.deb-xprox-in
- net deb-yprox-in => pyvcp.deb-yprox-in
- net deb-zprox-in => pyvcp.deb-zprox-in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement